package com.vates.vsp.practico.alumnos.view;

//import java.util.ArrayList;
//import java.util.List;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

import com.vates.vsp.practico.alumnos.business.Alumnos;
import com.vates.vsp.practico.commons.AbstractBaseView;
import com.vates.vsp.practico.commons.ListDataModel;

/**
 * 
 * Capa Vista
 */
@ManagedBean(name = "alumnosView")
@SessionScoped
public class AlumnosView extends AbstractBaseView {
	//private Alumnos alumno;
	
	private ListDataModel<Alumnos> alumnos;
	private Alumnos alumno;

	
	public AlumnosView(){
		super();
	}
	
	public void setAlumnos(ListDataModel<Alumnos> alumnos){
		this.alumnos=alumnos;
	}
	
	public ListDataModel<Alumnos> getAlumnos(){
		
		return alumnos;
	}
	
	public void setAlumno(Alumnos alumno){
		this.alumno=alumno;
	}
	public Alumnos getAlumno(){
		return alumno;
	}
	
	/*public int getCantidad(){
		return alumnos.size();
	}*/
	
	

}
